package com.aftersale.demo.service;

import com.aftersale.demo.entity.Permission;
import com.aftersale.demo.entity.Result;
import com.aftersale.demo.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestParam;

/**
 *
 */
public interface PermissionService extends IService<Permission> {
    Result getPermission(Integer pageNum,Integer pageSize);

    Result getPermission();

    Result addPermission(Permission permission);

    Result deletePermission(int id);

    Result updatePermission(Permission permission);


    Result selectPermission(String perName, Integer pageNum, Integer pageSize);
}
